package com.scvtc.service.research;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scvtc.domain.ResResult;
import com.scvtc.domain.dto.research.intellectual.ResearchIntellectualDto;
import com.scvtc.domain.entity.research.ResearchIntellectual;
import com.scvtc.domain.vo.PageVo;
import com.scvtc.domain.vo.research.intellectual.ResearchIntellectualVo;

import java.util.List;

/**
 * 科研知识产权信息(ResearchIntellectual)表服务接口
 *
 * @author yiFei
 * @since 2022-06-02 16:17:09
 */
public interface ResearchIntellectualService extends IService<ResearchIntellectual> {
    /**
     * 查询科研知识产权信息
     *
     * @param current
     * @param size
     * @param researchIntellectualVo
     * @return
     */
    ResResult<PageVo<List<ResearchIntellectualVo>>> getAllResearchIntellectual(Long current, Long size, ResearchIntellectualVo researchIntellectualVo);

    /**
     * 增加科研知识产权信息
     *
     * @param researchIntellectualDto
     * @return
     */
    ResResult<?> addResearchIntellectual(ResearchIntellectualDto researchIntellectualDto);

    /**
     * 修改科研知识产权信息
     *
     * @param researchIntellectualDto
     * @return
     */
    ResResult<?> updateResearchIntellectual(ResearchIntellectualDto researchIntellectualDto);

    /**
     * 删除单个科研知识产权信息
     *
     * @param id
     * @return
     */
    ResResult<?> deleteResearchIntellectual(Long id);

    /**
     * 删除多个科研知识产权信息
     *
     * @param ids
     * @return
     */
    ResResult<?> deleteMultipleResearchIntellectual(Long[] ids);
}

